package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * @author xw
 * @date 2020-08-21 17:29
 */
public interface FoodKnowledgeService {
    PageResult pageQuery(QueryPageBean queryPageBean);
    void  add(Food food);
    void deleteById(Integer id);
    public Food findById(int id);
    public void edit(Food food);
    public void adds(List<Food> food);
}
